/*
让滚动条一直滚动到最底部
 */
function scroolDialog(){
    var dialog = document.getElementById('dialog');
    dialog.scrollTop = dialog.scrollHeight;
    console.log(dialog.scrollHeight);
}